import { Component, OnInit } from '@angular/core';
import { Observable } from 'rxjs/Rx';

@Component({
  selector: 'app-changes-demo3',
  templateUrl: './changes-demo3.component.html',
  styleUrls: ['./changes-demo3.component.scss']
})
export class ChangesDemo3Component implements OnInit {
  counterStream: Observable<any>;

  constructor() { }

  ngOnInit() {
    this.counterStream = Observable.timer(0, 1000);
  }

}
